package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付通道设置对象 payment_channel_settings
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel("支付通道设置对象")
public class PaymentChannelSettings extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    @ApiModelProperty("主键，自增")
    private Long id;

    /** 门店名称 */
    @Excel(name = "门店名称")
    @ApiModelProperty("门店名称")
    private String storeName;

    /** 通道名称 */
    @Excel(name = "通道名称")
    @ApiModelProperty("通道名称")
    private String channel;

    /** 是否启用该支付通道 */
    @Excel(name = "是否启用该支付通道")
    @ApiModelProperty("是否启用该支付通道")
    private Integer isEnabled;

    /** 门店号 */
    @Excel(name = "门店号")
    @ApiModelProperty("门店号")
    private String storeNumber;

    /** 用于支付通道的密钥 */
    @Excel(name = "用于支付通道的密钥")
    @ApiModelProperty("用于支付通道的密钥")
    private String secretKey;

    /** 是否启用自助支付功能 */
    @Excel(name = "是否启用自助支付功能")
    @ApiModelProperty("是否启用自助支付功能")
    private Integer selfServicePayment;

    /** 是否启用MJHWC支付功能 */
    @Excel(name = "是否启用MJHWC支付功能")
    @ApiModelProperty("是否启用MJHWC支付功能")
    private Integer mjhwcPayment;

    /** 是否启用MJFY支付功能 */
    @Excel(name = "是否启用MJFY支付功能")
    @ApiModelProperty("是否启用MJFY支付功能")
    private Integer mjfyPayment;

    /** 是否启用MJTL支付功能 */
    @Excel(name = "是否启用MJTL支付功能")
    @ApiModelProperty("是否启用MJTL支付功能")
    private Integer mjtlPayment;

    /** 是否启用MJHLD支付功能 */
    @Excel(name = "是否启用MJHLD支付功能")
    @ApiModelProperty("是否启用MJHLD支付功能")
    private Integer mjhldPayment;

    /** 是否启用直连支付功能 */
    @Excel(name = "是否启用直连支付功能")
    @ApiModelProperty("是否启用直连支付功能")
    private Integer directPayment;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }

    public void setChannel(String channel)
    {
        this.channel = channel;
    }

    public String getChannel()
    {
        return channel;
    }

    public void setIsEnabled(Integer isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public Integer getIsEnabled()
    {
        return isEnabled;
    }

    public void setStoreNumber(String storeNumber)
    {
        this.storeNumber = storeNumber;
    }

    public String getStoreNumber()
    {
        return storeNumber;
    }

    public void setSecretKey(String secretKey)
    {
        this.secretKey = secretKey;
    }

    public String getSecretKey()
    {
        return secretKey;
    }

    public void setSelfServicePayment(Integer selfServicePayment)
    {
        this.selfServicePayment = selfServicePayment;
    }

    public Integer getSelfServicePayment()
    {
        return selfServicePayment;
    }

    public void setMjhwcPayment(Integer mjhwcPayment)
    {
        this.mjhwcPayment = mjhwcPayment;
    }

    public Integer getMjhwcPayment()
    {
        return mjhwcPayment;
    }

    public void setMjfyPayment(Integer mjfyPayment)
    {
        this.mjfyPayment = mjfyPayment;
    }

    public Integer getMjfyPayment()
    {
        return mjfyPayment;
    }

    public void setMjtlPayment(Integer mjtlPayment)
    {
        this.mjtlPayment = mjtlPayment;
    }

    public Integer getMjtlPayment()
    {
        return mjtlPayment;
    }

    public void setMjhldPayment(Integer mjhldPayment)
    {
        this.mjhldPayment = mjhldPayment;
    }

    public Integer getMjhldPayment()
    {
        return mjhldPayment;
    }

    public void setDirectPayment(Integer directPayment)
    {
        this.directPayment = directPayment;
    }

    public Integer getDirectPayment()
    {
        return directPayment;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("channel", getChannel())
                .append("isEnabled", getIsEnabled())
                .append("storeNumber", getStoreNumber())
                .append("secretKey", getSecretKey())
                .append("selfServicePayment", getSelfServicePayment())
                .append("mjhwcPayment", getMjhwcPayment())
                .append("mjfyPayment", getMjfyPayment())
                .append("mjtlPayment", getMjtlPayment())
                .append("mjhldPayment", getMjhldPayment())
                .append("directPayment", getDirectPayment())
                .append("phone", getPhone())
                .toString();
    }
}
